export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "dialogClickModal": false,
  "searchMenuSpan": 6,
  "column": [
	  {
      "type": "input",
      "label": "编号",
      "prop": "id",
      "span": 12,
      hide: true,
      editDisabled: true,
      addDisplay: false
    },	  {
      "type": "input",
      "label": "药品名称",
      "prop": "name",
      formslot: true,
      disabled: true,
      "span": 12,
      rules: [{
        required: true,
        message: '请选择药品'
      }],
      search: true
    },	  {
      "type": "input",
      "label": "药品编号",
      "prop": "drugId",
      disabled: true,
      "span": 12,
      hide: true
    },	  {
      "type": "input",
      "label": "类别",
      disabled: true,
      formslot: true,
      slot: true,
      "prop": "categoryId",
      "span": 12
    },	  {
      "type": "input",
      "label": "编码",
      "prop": "no",
      disabled: true,
      hide: true,
      search: true,
      "span": 12,
    },	  {
      "type": "input",
      "label": "拼音缩写",
      "prop": "pinyin",
      search: true,
      disabled: true,
      "span": 12,
      hide: true
    },   {
      "type": "input",
      "label": "规格",
      "prop": "spec",
      disabled: true,
      "span": 12,
    },	  {
      "type": "input",
      "label": "单位",
      disabled: true,
      "prop": "unit",
      "span": 12,
    },    {
      "type": "select",
      "label": "仓库",
      formslot: true,
      width: 120,
      search: true,
      dicUrl: '/act/oastores/page?size=-1&type=1',
      "prop": "storesId",
      props: {
        label: 'name',
        value: 'id',
        res: "data.records"
      },
      rules: [{
        required: true,
        message: '请选择仓库'
      }],
      "span": 12
    },	  {
      "type": "input",
      "label": "入库前库存数量",
      disabled: true,
      "prop": "stockAmount",
      "span": 12
    },	  {
      "type": "number",
      "label": "入库数量",
      "prop": "preAmount",
      maxRows: 1000000,
      minRows:0,
      rules: [{
        required: true,
        message: '请填写入库数量',
        trigger: 'blur'
      }],
      value: 1,
      "span": 12
    },	  {
      "type": "input",
      "label": "实际数量",
      "prop": "realAmount",
      "span": 12,
      editDisabled: true,
      addDisplay: false
    },	  {
      "type": "textarea",
      "label": "备注",
      "prop": "remark",
      "span": 24
    },	  {
      "type": "input",
      "label": "出入库状态",
      "prop": "inOutStatus",
      "span": 12,
      dicUrl: "/admin/dict/type/in_out_status",
      editDisabled: true,
      addDisplay: false
    },	  {
      "type": "input",
      "label": "经办人",
      "prop": "createRealname",
      "span": 12,
      editDisabled: true,
      addDisplay: false
    },	  {
      "type": "input",
      "label": "部门",
      "prop": "deptName",
      "span": 12,
      editDisabled: true,
      addDisplay: false
    },	  {
      "type": "input",
      "label": "发生时间",
      "prop": "createTime",
      "span": 12,
      editDisabled: true,
      addDisplay: false
    } ]
}
